<html>
 <head>
  <meta charset="UTF-8">

  <title>Document</title>
  <script type = "text/javascript">
    function Test(){
		var o = document.getElementById("controlbyid");
		alert(o.HelloWorld());
	};
	</script>
 </head>
 <body>

<object classid="clsid:81880994-8CB8-4BC1-B2E6-4A089B2FA7AF"></object>
  <object id="controlbyid" classid="clsid:{E3833B69-3639-4DDB-A990-A5A308A91E32}"></object>
  <input type="button" id="bt1" value="调用ActiveX" onclick="Test()" />
</body>
</html>
